package cn.tedu.home1ess.admin.content.dao.repository;



import cn.tedu.home1ess.admin.content.pojo.po.TabooWordsCategorytPO;
import cn.tedu.home1ess.admin.content.pojo.po.TabooWordsContentPO;

import java.util.List;

public interface ITabooRepository {
    List<TabooWordsContentPO> selectContent();


    TabooWordsCategorytPO selectCategoryById(Long categoryId);




    List<TabooWordsCategorytPO> selectCategoryByParentId(Long parentId);

    void addTaboo(TabooWordsContentPO tabooWordsContentPO);


    TabooWordsContentPO selectContentById(Long id);

    void updateTaboo(TabooWordsContentPO tabooWordsContentPO);

    void deleteContentById(Long id);
}
